package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.Date;

import com.mbc.common.param.CriteriaParams;

@SuppressWarnings("serial")
public class CashPaymentByReturn extends CriteriaParams implements Serializable{
	
	private Long slipid;
	private String slipno;
	private Date slipdate;
	private Date createddate;
	private Date modifieddate;
	private Long branchid;
	private Long createdby;
	private Long modifiedby;
	private Long typeid;
	private String typecode;
	private Long returnslipid;
	private String returnslipno;
	private Long agentid;
	private String agentcode;
	private Long addcodeid;
	private String addcode;
	private String receiptno;
	private String sender;
	private String receiver;
	private String nrc;
	private String address;
	private Long currencyid;
	private Long currencyrateid;
	private Double rate;
	private String currencyratecode;
	private Double amount;
	private Double extrafees;
	private Long bankid;
	private String bankcode;
	private Long definedetailid;	
	private Long returndetailid;
	private int trtype;
	private boolean typing;
	
	private Double paidamount;
	private Byte p_returnstatus;
	private String fieldname;
	
	public CashPaymentByReturn()
	{
		ClearProperties();
	}
	
	public void ClearProperties()
	{
		slipid = null;
		slipno = "";
		slipdate = new Date();
		createddate = new Date();
		modifieddate = new Date();
		branchid = null;
		createdby = null;
		modifiedby = null;
		typeid = null;
		typecode = "";
		returnslipid = null;
		returnslipno = "";
		agentid = null;
		agentcode = "";
		addcodeid = null;
		addcode = "";
		receiptno = "";
		sender = "";
		receiver = "";
		nrc = "";
		address = "";
		currencyid = null;
		rate = null;
		amount = null;
		extrafees = null;
		bankid = null;
		bankcode = "";
		definedetailid = null;	
		trtype = 0;
		returndetailid = null;
		currencyratecode = "";
		typing = false;
		currencyrateid = null;
		fieldname = "";
	}

	public Long getSlipid() {
		return slipid;
	}

	public void setSlipid(Long slipid) {
		this.slipid = slipid;
	}

	public String getSlipno() {
		return slipno;
	}

	public void setSlipno(String slipno) {
		this.slipno = slipno;
	}

	public Date getSlipdate() {
		return slipdate;
	}

	public void setSlipdate(Date slipdate) {
		this.slipdate = slipdate;
	}

	public Date getCreateddate() {
		return createddate;
	}

	public void setCreateddate(Date createddate) {
		this.createddate = createddate;
	}

	public Date getModifieddate() {
		return modifieddate;
	}

	public void setModifieddate(Date modifieddate) {
		this.modifieddate = modifieddate;
	}

	public Long getBranchid() {
		return branchid;
	}

	public void setBranchid(Long branchid) {
		this.branchid = branchid;
	}

	public Long getCreatedby() {
		return createdby;
	}

	public void setCreatedby(Long createdby) {
		this.createdby = createdby;
	}

	public Long getModifiedby() {
		return modifiedby;
	}

	public void setModifiedby(Long modifiedby) {
		this.modifiedby = modifiedby;
	}

	public Long getTypeid() {
		return typeid;
	}

	public void setTypeid(Long typeid) {
		this.typeid = typeid;
	}

	public String getTypecode() {
		return typecode;
	}

	public void setTypecode(String typecode) {
		this.typecode = typecode;
	}

	public Long getReturnslipid() {
		return returnslipid;
	}

	public void setReturnslipid(Long returnslipid) {
		this.returnslipid = returnslipid;
	}

	public String getReturnslipno() {
		return returnslipno;
	}

	public void setReturnslipno(String returnslipno) {
		this.returnslipno = returnslipno;
	}

	public Long getAgentid() {
		return agentid;
	}

	public void setAgentid(Long agentid) {
		this.agentid = agentid;
	}

	public String getAgentcode() {
		return agentcode;
	}

	public void setAgentcode(String agentcode) {
		this.agentcode = agentcode;
	}

	public Long getAddcodeid() {
		return addcodeid;
	}

	public void setAddcodeid(Long addcodeid) {
		this.addcodeid = addcodeid;
	}

	public String getAddcode() {
		return addcode;
	}

	public void setAddcode(String addcode) {
		this.addcode = addcode;
	}

	public String getReceiptno() {
		return receiptno;
	}

	public void setReceiptno(String receiptno) {
		this.receiptno = receiptno;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getNrc() {
		return nrc;
	}

	public void setNrc(String nrc) {
		this.nrc = nrc;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getCurrencyid() {
		return currencyid;
	}

	public void setCurrencyid(Long currencyid) {
		this.currencyid = currencyid;
	}

	public Double getRate() {
		return rate;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getExtrafees() {
		return extrafees;
	}

	public void setExtrafees(Double extrafees) {
		this.extrafees = extrafees;
	}

	public Long getBankid() {
		return bankid;
	}

	public void setBankid(Long bankid) {
		this.bankid = bankid;
	}

	public String getBankcode() {
		return bankcode;
	}

	public void setBankcode(String bankcode) {
		this.bankcode = bankcode;
	}

	public Long getDefinedetailid() {
		return definedetailid;
	}

	public void setDefinedetailid(Long definedetailid) {
		this.definedetailid = definedetailid;
	}

	public int getTrtype() {
		return trtype;
	}

	public void setTrtype(int trtype) {
		this.trtype = trtype;
	}

	public Long getReturndetailid() {
		return returndetailid;
	}

	public void setReturndetailid(Long returndetailid) {
		this.returndetailid = returndetailid;
	}

	public String getCurrencyratecode() {
		return currencyratecode;
	}

	public void setCurrencyratecode(String currencyratecode) {
		this.currencyratecode = currencyratecode;
	}

	public boolean isTyping() {
		return typing;
	}

	public void setTyping(boolean typing) {
		this.typing = typing;
	}

	public Long getCurrencyrateid() {
		return currencyrateid;
	}

	public void setCurrencyrateid(Long currencyrateid) {
		this.currencyrateid = currencyrateid;
	}

	public Double getPaidamount() {
		return paidamount;
	}

	public void setPaidamount(Double paidamount) {
		this.paidamount = paidamount;
	}

	public Byte getP_returnstatus() {
		return p_returnstatus;
	}

	public void setP_returnstatus(Byte p_returnstatus) {
		this.p_returnstatus = p_returnstatus;
	}

	public String getFieldname() {
		return fieldname;
	}

	public void setFieldname(String fieldname) {
		this.fieldname = fieldname;
	}
}
